package com.bjqg.bjqg01.bjqg.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.bjqg.bjqg01.bjqg.R;
import com.bjqg.bjqg01.bjqg.bean.ClBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * Created by Administrator on 2018/4/12 0012.
 */

public class PreEntrustEntryClmcAdapter extends BaseQuickAdapter<ClBean,BaseViewHolder>{

    public PreEntrustEntryClmcAdapter(@LayoutRes int layoutResId, @Nullable List<ClBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ClBean item) {
        helper.setText(R.id.item_pre_dalei,item.getLeiBie().toString())
                .setText(R.id.item_pre_xiaolei,item.getChaiLiao().toString())
                .setText(R.id.item_pre_clmc,item.getClmc().toString())
                .setText(R.id.item_pre_dj,item.getDj().toString())
                .setText(R.id.item_pre_jcxm,item.getJcxm().toString());
    }
}
